const http = require('http')

let  server = http.createServer((req,res)=>{
    res.writeHead(200,{'content-type':'text/html'})
    res.end('<h1>hello world</h1>')

})
server.listen('8000',()=>{
console.log('server running in http://127.0.0.1:8000...')
})
